@import "../../lib/colors.less";

.pro-cart{


  .pro-cart-item{
    display: flex;
    background-color: @back2;
    margin-top:10px;
    padding: 3px 0;
    .am-list-item {
      flex: 1;
    }
    .am-checkbox-checked .am-checkbox-inner{
      border-color: @primary;
      background:@primary;
    }
    .pro-cart-item-img{
      width: 100px;
      height: 100px;
      flex: 3;
      img{
        width: 100%;
        height: 100%;
        border-radius: 8px;
      }
    }
    .pro-cart-item-des{
      flex: 7;
      margin:0 15px;
      position: relative;
      h2{
        height: 30px;
        line-height: 30px;
        font-size: 16px;
      }
      .checkinfo{
        width: 30%;
        margin-top: 5px;
        background-color: #FCFCFC;
        height: 23px;
        line-height: 23px;
        border-radius: 3px;
        color: @pinfo;

      }
      .price{
        display: flex;
        position: absolute;
        bottom: 8px;
        width: 100%;
        .p-price{
          color: @pprice;
          flex: 1;
        }
        .count{
          text-align: right;
          display: flex;
          width: 90px;
          height: 25px;
          line-height: 23px;
          border:1px solid @back1;
          border-radius: 5px;
          .btn-reduce,.btn-add{
            text-align: center;
            flex: 1;
          }
          .counter{
            flex:2;
            border-left:1px solid @back1;
            border-right:1px solid @back1;
            text-align: center;
          }
        }
      }
    }
  }
}